package com.qianyu.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qianyu.project.entity.DeviceCollect;
import com.qianyu.project.entity.DeviceInspect;
import com.qianyu.project.entity.DeviceInspectList;
import com.qianyu.project.entity.DeviceOilUsed;
import com.qianyu.project.mapper.provider.mfy.DeviceInspectProvider;
import com.qianyu.project.mapper.provider.mfy.DeviceOilUsedProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author mfy
 * @desc
 */
@Repository
public interface DeviceInspectMapper extends BaseMapper<DeviceInspect> {

    @SelectProvider(method = "Mylist",type = DeviceInspectProvider.class)
    IPage<DeviceInspect> Mylist(IPage<DeviceInspect> page, @Param("params") Map<String, String> params);
    @SelectProvider(method = "listNopage",type = DeviceInspectProvider.class)
    List<DeviceInspect> listNopage(Map<String, String> params);
}
